<template>
  <div>
    <div class="wrapper" v-show="this.$store.state.isTabbarShow">
      <router-link class="tab" to="/show" active-class="active">
        <i class="iconfont icon-all"></i>
        <span>演出</span>
      </router-link>
      <router-link class="tab" to="/ticket" active-class="active">
        <i class="iconfont icon-text"></i>
        <span>票舱</span>
      </router-link>
      <router-link class="tab" to="/search" active-class="active">
        <i class="iconfont icon-smile"></i>
        <span>逛逛</span>
      </router-link>
      <router-link class="tab" to="/mine"  active-class="active">
        <i class="iconfont icon-bussinessman"></i>
        <span>我的</span>
      </router-link>
    </div>
  </div>
</template>


<style lang="scss" scoped>
.wrapper{
  width: 100%;
  height: 3.125rem;
  position: fixed;
  bottom: 0;
  left: 0;
  display: flex;
  justify-content: center;
  background-color: #fff;
  z-index: 999;
  .tab{
    flex: 1;
    text-align: center;
    // line-height: 3.125rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #BBB;

    &.active{
      color: #7654FF;
    }
  }
}
</style>